home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5971 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  894 b 

  1. Path: bigblue.oit.unc.edu!not-for-mail
  2. From: Tong Liu <tongliu@xerxes.cpc.unc.edu>
  3. Newsgroups: comp.lang.c++
  4. Subject: C++ to C?
  5. Date: 7 Feb 1996 16:57:45 GMT
  6. Organization: The University of North Carolina at Chapel Hill
  7. Message-ID: <4falm9$11vs@bigblue.oit.unc.edu>
  8. NNTP-Posting-Host: xerxes.cpc.unc.edu
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.12 (X11; I; AIX 2)
  13. X-URL: news:comp.lang.c++
  14.  
  15. I have written a C++ program (on machine A with C++ compiler) that I'd like to
  16. port to a UNIX machine B without C++ compiler.  Is there a way to precompile
  17. the program into C and then move the C source to the machine (without C++
  18. compiler) and use the C compiler to generate the executable? If so, how to do
  19. it?
  20.  
  21. Any suggestions?
  22. -- 
  23.         Tong Liu
  24.         systems programmer, Carolina Population Center
  25.         Email: tongliu@xerxes.cpc.unc.edu
  26.  
  27.